Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update Spring Boot to version 3.3.0 #708

Closed

Conversation

ds-pweick
Copy link
Contributor

Description

This PR addresses #380.

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

ds-pweick and others added 30 commits June 14, 2024 14:43
- Renamed CustomUriTagProvider to CustomKeyValueProvider since the Tag class is no longer used by the new DefaultClientRequestObservationConvention class
- Accordingly, CustomKeyValueProvider does not have a method that returns a list of Tag, but KeyValues
- Temporary workaround: due to the changes mentioned at https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-6.x?secureweb=Teams#parameter-name-retention, old Java code now needs to be compiled using the -parameters flag to work
- The DefaultAcceptedPoliciesConfig.AcceptedPolicy class now has a NoArgsConstructor because otherwise it currently won't bind values in application.yaml
- Validation of UUID arguments size in IrsController and BatchController has been removed since it's superfluous and causing crashes
- Starting with Spring Framework 6.1 (Spring Boot 3.3 brings version 6.1.8), Spring's LocalVariableTableParameterNameDiscoverer can no longer be used to discover parameter names, see https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-6.x#parameter-name-retention. This required some changes in the code:

  - Methods in the rest controller classes now explicitly include parameter names in the @PathVariable and @RequestParameter annotations, otherwise the parameters are not recognized.

  - When using the @Cacheable annotation (e.g. in SemanticsHubFacade), it is no longer possible to use a SpEl expression like "#urn" to specify the caching key. Instead, the code now needs a SpEl-Expression like "#p0", see https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/cache/annotation/Cacheable.html#key().
…st/update-spring-boot

# Conflicts:
#	DEPENDENCIES
- Instead of the separate workflow update-docs-for-release.yml, the release workflow now directly performs what the separate workflow did.
- Accordingly, the separate workflow has been removed.
…refactor/release-workflow

# Conflicts:
#	.github/workflows/release.yaml
run: sed -i "s|${{ steps.main-changelog-update.outputs.previous-irs-version }}|${{ inputs.irs-version }}|" ${{ env.IRS_APPLICATION_PATH }}

- name: Update irs-api.yaml
uses: mikefarah/[email protected]

Check notice

Code scanning / KICS

Unpinned Actions Full Length Commit SHA Note

Action is not pinned to a full length commit SHA.
@ds-pweick ds-pweick marked this pull request as draft July 10, 2024 07:13
@ds-pweick ds-pweick closed this Jul 10, 2024
@ds-pweick ds-pweick deleted the test/update-spring-boot branch July 10, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant